
#ifndef BRAM_H
#define BRAM_H

#include "types.h"

class BlockRam
{
public:
	BlockRam(int size);

	void writeWordA(int address, u32 data);
	u32 readWordA(int address) const;

	void writeWordB(int address, u32 data);
	u32 readWordB(int address) const;

private:
	int m_size; 
	u32 *m_memory;
};

#endif
